package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址管理对象 zsyh_user_address
 * 
 * @author yuexl
 * @date 2022-02-21
 */
public class ZsyhUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String addressName;

    /** 省名称 */
    @Excel(name = "省名称")
    private String addressPrivinceName;

    /** 省代码 */
    @Excel(name = "省代码")
    private String addressProvince;

    /** 市名称 */
    @Excel(name = "市名称")
    private String addressCityName;

    /** 市代码 */
    @Excel(name = "市代码")
    private String addressCity;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String addressDistrictName;

    /** 区/县代码 */
    @Excel(name = "区/县代码")
    private String addressDistrict;

    /** 是否默认地址 1是 0否 */
    @Excel(name = "是否默认地址 1是 0否")
    private String isDefault;

    /** 收货人联系方式 */
    @Excel(name = "收货人联系方式")
    private String addressPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDetail;

    private String userAddressDetail;

    private String userNickname;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setAddressName(String addressName) 
    {
        this.addressName = addressName;
    }

    public String getAddressName() 
    {
        return addressName;
    }
    public void setAddressPrivinceName(String addressPrivinceName) 
    {
        this.addressPrivinceName = addressPrivinceName;
    }

    public String getAddressPrivinceName() 
    {
        return addressPrivinceName;
    }
    public void setAddressProvince(String addressProvince) 
    {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvince() 
    {
        return addressProvince;
    }
    public void setAddressCityName(String addressCityName) 
    {
        this.addressCityName = addressCityName;
    }

    public String getAddressCityName() 
    {
        return addressCityName;
    }
    public void setAddressCity(String addressCity) 
    {
        this.addressCity = addressCity;
    }

    public String getAddressCity() 
    {
        return addressCity;
    }
    public void setAddressDistrictName(String addressDistrictName) 
    {
        this.addressDistrictName = addressDistrictName;
    }

    public String getAddressDistrictName() 
    {
        return addressDistrictName;
    }
    public void setAddressDistrict(String addressDistrict) 
    {
        this.addressDistrict = addressDistrict;
    }

    public String getAddressDistrict() 
    {
        return addressDistrict;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setAddressPhone(String addressPhone) 
    {
        this.addressPhone = addressPhone;
    }

    public String getAddressPhone() 
    {
        return addressPhone;
    }
    public void setAddressDetail(String addressDetail) 
    {
        this.addressDetail = addressDetail;
    }

    public String getAddressDetail() 
    {
        return addressDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("addressName", getAddressName())
            .append("addressPrivinceName", getAddressPrivinceName())
            .append("addressProvince", getAddressProvince())
            .append("addressCityName", getAddressCityName())
            .append("addressCity", getAddressCity())
            .append("addressDistrictName", getAddressDistrictName())
            .append("addressDistrict", getAddressDistrict())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDefault", getIsDefault())
            .append("addressPhone", getAddressPhone())
            .append("addressDetail", getAddressDetail())
            .toString();
    }

    public String getUserAddressDetail() {
        return userAddressDetail;
    }

    public void setUserAddressDetail(String userAddressDetail) {
        this.userAddressDetail = userAddressDetail;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }
}
